#ifndef CONFIGURATION_CONTROLLER_H
#define CONFIGURATION_CONTROLLER_H

#include <QFile>
#include <QTextStream>
#include <QStringList>

#include <common/parameters.h>

class Configuration_controller
{
public:
    Configuration_controller();
    void make_file_config(configurations_parameters_uavs *cpu, QString currentProject);
    bool read_file_config(configurations_parameters_uavs *cpu,QString currentProject);
    QStringList get_config_parameters(QStringList parameters);

private:
    QString _name_file;

    QStringList get_final_file();
    QStringList get_begin_file();
    int write_content(QFile *file, QStringList lstLines);
    QStringList get_parameters(configurations_parameters_uavs *cpu);
};

#endif // CONFIGURATION_CONTROLLER_H
